<template>
    <div>
        <header>
            <div @click="pushDispose" class="item"><img src="img/daichuli@2x.png" alt=""><span>待处理</span></div>
            <div class="item"><img src="img/yichuli@2x.png" alt=""><span>已处理</span></div>
            <div class="item"><img src="img/yifaqi@2x.png" alt=""><span>已发起</span></div>
        </header>
        <nav>
            增删课程人员审批
        </nav>
        <header>
            <div @click="pushAddLesson" class="item"><img src="img/tianjiakecheng@2x.png" alt=""><span>添加课程</span></div>
            <div @click="pushDelLesson" class="item"><img src="img/tianjiakecheng@2x.png" alt=""><span>删除课程</span></div>
            <div @click="addPeople" class="item"><img src="img/tianjiakecheng@2x.png" alt=""><span>添加人员</span></div>
            <div @click="delPeople" class="item"><img src="img/tianjiakecheng@2x.png" alt=""><span>删除人员</span></div>
        </header>
    </div>
</template>
<script>
export default {
    methods: {
        pushAddLesson(){
            this.$router.push({
                path:'/Lessonapprove'
            })
        },
        pushDelLesson(){
            this.$router.push({
                path:'/lessondel'
            })
        },
        addPeople(){
            this.$router.push({
                path:'/addpeople'
            })
        },
        delPeople(){
            this.$router.push({
                path:'/delpeople'
            })
        },
        pushDispose(){
             this.$router.push({
                path:'/dispose'
            })
        }
    },
}
</script>
<style lang="scss" scoped>
    header{
        padding: 0.4rem 0.4rem;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        .item{
            display: flex;
            align-items: center;
            flex-direction: column;
            margin-right: 0.8rem;
            img{
                width: 1rem;
                height: 1rem;
            }
            span{
                font-size: 0.28rem;
                color: #4C4C4C;
                margin-top: 0.1rem;
                white-space: nowrap;
            }
        }
    }
    nav{
        padding: 0.4rem 0.25rem;
        box-sizing: border-box;
        font-size: 0.3rem;
        background: #F7F9FA;
        font-weight: bold;
    }
</style>